package Helper;

import java.text.SimpleDateFormat;
import java.util.Calendar;

public class DateCreator {

	/**
	 * 
	 * @return today's date in the format needed for insertion to the database
	 */
	public static String getTodaysDate() {
        Calendar calendar = Calendar.getInstance();
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
        return dateFormat.format(calendar.getTime());
	}
}
